Skip to main content
Version: 6.0.0-beta.3 - 6.0.0-beta.4

cancelUnfreezeBalanceV2

Support canceling unstaking in Stake 2.0, which means that users can use this API to cancel unstaking in waiting period time, make the unstaking TRX restaked, and meanwhile help users withdraw the TRX expired waiting period to balance. (v5.3.0 new interface)

Usage

const transaction = await tronWeb.transactionBuilder.cancelUnfreezeBalanceV2(address);

Parameters

ArgumentDescriptionType
addressRestack account address (base58 or hex)String
optionsOptional. The permission id for multi-signature and block header for contract block header info.{ permissionId: number, blockHeader: ... }

Returns

Unsigned transaction object.

Example

> const transaction = await tronWeb.transactionBuilder.cancelUnfreezeBalanceV2('ownerAddress');